#include <HttpEchoEngine.h>

using namespace HttpFrame::Loger;

namespace HttpFrame
{

int CEchoOperationEngine::Register(CIniFile &ini)
{
    Logger()->LOG_P(HttpFrame::Loger::LOG_ERROR, "CEchoOperationEngine::Register,befor register cmd=%s,size=%d!\n",HandlerKey::Key(HF_CMD_TYPE_ECHO).c_str(),handler_pool_.size());

    REG_HANDLER( this , HF_CMD_TYPE_ECHO , CEchoHandler , ini);
    
    Logger()->LOG_P(HttpFrame::Loger::LOG_ERROR, "CEchoOperationEngine::Register,after register,cmd=%s,size=%d!\n",HandlerKey::Key(HF_CMD_TYPE_ECHO).c_str(),handler_pool_.size());
    
    return 0;
}

}

